# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-iniconfig
_pyname=iniconfig
pkgver=1.0.1
pkgrel=0
pkgdesc="brain-dead simple config-ini parsing"
url="https://github.com/RonnyPfannschmidt/iniconfig"
arch="noarch"
license="MIT"
makedepends="py3-setuptools py3-py"
source="https://files.pythonhosted.org/packages/source/i/$_pyname/$_pyname-$pkgver.tar.gz"
options="!check" # pytest needed, circular dep
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2a6302d117cdba31cf51b418eb99df05988e252dc4155ad02526431d1dfc388839b533c3dac276254633cc86ed2b378af6bbb19998dd517a33163ad4957601a9  iniconfig-1.0.1.tar.gz"
